package tt.com.warehousemanager.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import tt.com.common.model.YxCommonPurchase;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author Czycka
 * @date 2022/8/19 15:52
 * @description
 */
public interface PurchaseMapper extends BaseMapper<YxCommonPurchase> {

    /**
     * 根据时间查询金额
     *
     * @param startTime 开始时间
     * @return 金额
     */
    BigDecimal selectByTime(@Param("startTime") Date startTime);
}
